package com.stylefeng.guns.biz.api.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.stylefeng.guns.biz.api.dao.UserSignMapper;
import com.stylefeng.guns.biz.api.model.UserSign;
import com.stylefeng.guns.biz.api.service.IUserSignService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author stylefeng123
 * @since 2018-07-26
 */
@Service
public class UserSignServiceImpl extends ServiceImpl<UserSignMapper, UserSign> implements IUserSignService {

    @Resource
    private UserSignMapper userSignMapper;

    @Override
    public int selectSignByUserId(Integer userId) {
        return userSignMapper.selectSignByUserId(userId);
    }
}
